<!doctype html>
<html>
<head>
    <meta charset="utf-8"/>
    <meta name="viewport"
          content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-touch-fullscreen" content="yes">
    <title>淘宝网 - 淘！我喜欢</title>
</head>
<body>

<script src="/kissy/build/seed.js"></script>
<script src="/kissy/src/package.js"></script>
<script>

    KISSY.use('event/custom', function (S, Event) {

        var r1 = S.mix({}, S.EventTarget);

        var r2 = S.mix({}, S.EventTarget);

        r2.addTarget(r1);

        var ret = 0;

        r1.on("click", function () {
            ret = 1;
        });

        r2.fire("click");

        S.log(ret);

    });

</script>

</body>
</html>